#! /usr/bin/env python

# set up parameters that we care about
PACKAGE = 'pointcloud_preprocessor'

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator ()
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
gen.add ("voxel_size_x", double_t, 0, "voxel size", 0.3, 0.1, 10.0)
gen.add ("voxel_size_y", double_t, 0, "voxel size", 0.3, 0.1, 10.0)
gen.add ("voxel_size_z", double_t, 0, "voxel size", 0.1, 0.1, 10.0)
gen.add ("voxel_points_threshold", int_t, 0, "number of minimum points to filter points", 2, 0, 100)
gen.add ("input_frame", str_t, 0, "The input TF frame the data should be transformed into before processing, if input.header.frame_id is different.", "")
gen.add ("output_frame", str_t, 0, "The output TF frame the data should be transformed into after processing, if input.header.frame_id is different.", "")

exit (gen.generate (PACKAGE, "pointcloud_preprocessor", "VoxelGridOutlierFilter"))
